package com.monbo.proj.lifangcrm.entity.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import jakarta.persistence.*;
import lombok.Data;
import org.hibernate.annotations.ColumnDefault;

import java.math.BigDecimal;
import java.time.Instant;

/**
 * i02tn协议
 *
 * @author lirui
 * @date 2025/09/22
 */
@Data
@Entity
@Table(name = "i02tn_agreement")
public class I02tnAgreement {
    //示例ID
    @Id
    @Column(name = "id", nullable = false, length = 36)
    private String id;
    //数据标题
    @Column(name = "name", length = 200)
    private String name;
    //创建人
    @ColumnDefault("")
    @Column(name = "creater", length = 200)
    private String creater;
    //创建人部门
    @ColumnDefault("")
    @Column(name = "createdDeptId", length = 200)
    @TableField("createdDeptId")
    private String createdDeptId;
    //拥有者
    @ColumnDefault("")
    @Column(name = "owner", length = 200)
    private String owner;
    //拥有者部门
    @ColumnDefault("")
    @Column(name = "ownerDeptId", length = 200)
    @TableField("ownerDeptId")
    private String ownerDeptId;
    //创建时间
    @Column(name = "createdTime")
    @TableField("createdTime")
    private Instant createdTime;
    //修改人
    @ColumnDefault("")
    @Column(name = "modifier", length = 200)
    private String modifier;
    //修改时间
    @Column(name = "modifiedTime")
    @TableField("modifiedTime")
    private Instant modifiedTime;
    //流程实例ID
    @Column(name = "workflowInstanceId", length = 200)
    @TableField("workflowInstanceId")
    private String workflowInstanceId;
    //单据号
    @Column(name = "sequenceNo", length = 200)
    @TableField("sequenceNo")
    private String sequenceNo;
    //单据状态
    @Column(name = "sequenceStatus", length = 200)
    @TableField("sequenceStatus")
    private String sequenceStatus;
    //部门查询编码
    @Column(name = "ownerDeptQueryCode")
    @TableField("ownerDeptQueryCode")
    private String ownerDeptQueryCode;
    //版本号
    @Column(name = "version", precision = 25, scale = 8)
    private BigDecimal version;
    //归属部门
    @Column(name = "DeptSingle1757908271443", length = 200)
    @TableField("DeptSingle1757908271443")
    private String deptSingle1757908271443;
    //负责人
    @Column(name = "StaffSingle1757908284818", length = 200)
    @TableField("StaffSingle1757908284818")
    private String staffSingle1757908284818;
    //客户
    @Column(name = "RelevanceForm1757908426324", length = 200)
    @TableField("RelevanceForm1757908426324")
    private String relevanceForm1757908426324;
    //公司
    @Column(name = "RelevanceForm1757908496777", length = 200)
    @TableField("RelevanceForm1757908496777")
    private String relevanceForm1757908496777;
    //主体
    @Column(name = "DeptSingle1757908540266", length = 200)
    @TableField("DeptSingle1757908540266")
    private String deptSingle1757908540266;
    //客户电话
    @Column(name = "Phone1757908684630", length = 200)
    @TableField("Phone1757908684630")
    private String phone1757908684630;
    //DeptSingle1757908271443的查询编码
    @Lob
    @Column(name = "DeptSingle1757908271443_q")
    @TableField("DeptSingle1757908271443_q")
    private String deptsingle1757908271443Q;
    //DeptSingle1757908540266的查询编码
    @Lob
    @Column(name = "DeptSingle1757908540266_q")
    @TableField("DeptSingle1757908540266_q")
    private String deptsingle1757908540266Q;
    //签署日期
    @Column(name = "Date1757913655684")
    @TableField("Date1757913655684")
    private Instant date1757913655684;
    //协议开始日期
    @Column(name = "Date1757913661091")
    @TableField("Date1757913661091")
    private Instant date1757913661091;
    //协议结束日期
    @Column(name = "Date1757913669501")
    @TableField("Date1757913669501")
    private Instant date1757913669501;
    //是否有保证金
    @Column(name = "Radio1757913683171", length = 200)
    @TableField("Radio1757913683171")
    private String radio1757913683171;
    //保证金额
    @Column(name = "Number1757913701222", precision = 25, scale = 8)
    @TableField("Number1757913701222")
    private BigDecimal number1757913701222;
    //有无返利
    @Column(name = "Radio1757913783414", length = 200)
    @TableField("Radio1757913783414")
    private String radio1757913783414;
    //返利内容
    @Lob
    @Column(name = "LongText1757913796199")
    @TableField("LongText1757913796199")
    private String longText1757913796199;
    //结算方式
    @Column(name = "Radio1757913852333", length = 200)
    @TableField("Radio1757913852333")
    private String radio1757913852333;
    //回款周期（天）
    @Column(name = "Number1757913863766", precision = 25, scale = 8)
    @TableField("Number1757913863766")
    private BigDecimal number1757913863766;
    //备注
    @Lob
    @Column(name = "LongText1757913872846")
    @TableField("LongText1757913872846")
    private String longText1757913872846;
    //协议类型
    @Column(name = "Dropdown1757913892206", length = 200)
    @TableField("Dropdown1757913892206")
    private String dropdown1757913892206;
    //协议状态
    @Column(name = "Dropdown1757913926869", length = 200)
    @TableField("Dropdown1757913926869")
    private String dropdown1757913926869;
    //协议地区
    @Lob
    @Column(name = "LongText1757913955438")
    @TableField("LongText1757913955438")
    private String longText1757913955438;
    //发票备注
    @Lob
    @Column(name = "DropdownMulti1757913996542")
    @TableField("DropdownMulti1757913996542")
    private String dropdownMulti1757913996542;
    //甲方联系人
    @Column(name = "ShortText1757914030222", length = 200)
    @TableField("ShortText1757914030222")
    private String shortText1757914030222;
    //甲方联系方式
    @Column(name = "Phone1757914041494", length = 200)
    @TableField("Phone1757914041494")
    private String phone1757914041494;
    //一级协议地区
    @Lob
    @Column(name = "LongText1757914106566")
    @TableField("LongText1757914106566")
    private String longText1757914106566;
    //一级协议
    @Column(name = "RelevanceForm1757914135280", length = 200)
    @TableField("RelevanceForm1757914135280")
    private String relevanceForm1757914135280;
    //是否有保证金-选项编码
    @Lob
    @Column(name = "Radio1757913683171_key")
    @TableField("Radio1757913683171_key")
    private String radio1757913683171Key;
    //有无返利-选项编码
    @Lob
    @Column(name = "Radio1757913783414_key")
    @TableField("Radio1757913783414_key")
    private String radio1757913783414Key;
    //结算方式-选项编码
    @Lob
    @Column(name = "Radio1757913852333_key")
    @TableField("Radio1757913852333_key")
    private String radio1757913852333Key;
    //协议类型-选项编码
    @Lob
    @Column(name = "Dropdown1757913892206_key")
    @TableField("Dropdown1757913892206_key")
    private String dropdown1757913892206Key;
    //协议状态-选项编码
    @Lob
    @Column(name = "Dropdown1757913926869_key")
    @TableField("Dropdown1757913926869_key")
    private String dropdown1757913926869Key;
    //发票备注-选项编码
    @Lob
    @Column(name = "DropdownMulti1757913996542_key")
    @TableField("DropdownMulti1757913996542_key")
    private String dropdownmulti1757913996542Key;
    //收货信息
    @Lob
    @Column(name = "LongText1757914749439")
    @TableField("LongText1757914749439")
    private String longText1757914749439;
    //合作模式
    @Column(name = "Radio1757914793229", length = 200)
    @TableField("Radio1757914793229")
    private String radio1757914793229;
    //临时有效期至
    @Column(name = "Date1757914811918")
    @TableField("Date1757914811918")
    private Instant date1757914811918;
    //协议停用原因
    @Column(name = "ShortText1757914830013", length = 200)
    @TableField("ShortText1757914830013")
    private String shortText1757914830013;
    //是否销售类协议
    @Column(name = "Radio1757914836254", length = 200)
    @TableField("Radio1757914836254")
    private String radio1757914836254;
    //商业 1
    @Column(name = "RelevanceForm1757914913485", length = 200)
    @TableField("RelevanceForm1757914913485")
    private String relevanceForm1757914913485;
    //商业 2
    @Column(name = "RelevanceForm1757914936189", length = 200)
    @TableField("RelevanceForm1757914936189")
    private String relevanceForm1757914936189;
    //折扣兑付周期
    @Column(name = "Dropdown1757914956758", length = 200)
    @TableField("Dropdown1757914956758")
    private String dropdown1757914956758;
    //培训周期
    @Column(name = "Dropdown1757915034778", length = 200)
    @TableField("Dropdown1757915034778")
    private String dropdown1757915034778;
    //户名
    @Column(name = "ShortText1757915090282", length = 200)
    @TableField("ShortText1757915090282")
    private String shortText1757915090282;
    //开户银行
    @Column(name = "ShortText1757915096089", length = 200)
    @TableField("ShortText1757915096089")
    private String shortText1757915096089;
    //开户账号
    @Column(name = "ShortText1757915102185", length = 200)
    @TableField("ShortText1757915102185")
    private String shortText1757915102185;
    //兑付天数
    @Column(name = "Number1757915104746", precision = 25, scale = 8)
    @TableField("Number1757915104746")
    private BigDecimal number1757915104746;
    //乙方联系人
    @Column(name = "StaffSingle1757915125381", length = 200)
    @TableField("StaffSingle1757915125381")
    private String staffSingle1757915125381;
    //乙方联系方式
    @Column(name = "Phone1757915133241", length = 200)
    @TableField("Phone1757915133241")
    private String phone1757915133241;
    //一季度合计
    @Column(name = "Number1757915151418", precision = 25, scale = 8)
    @TableField("Number1757915151418")
    private BigDecimal number1757915151418;
    //二季度合计
    @Column(name = "Number1757915154826", precision = 25, scale = 8)
    @TableField("Number1757915154826")
    private BigDecimal number1757915154826;
    //三季度合计
    @Column(name = "Number1757915159752", precision = 25, scale = 8)
    @TableField("Number1757915159752")
    private BigDecimal number1757915159752;
    //四季度合计
    @Column(name = "Number1757915166337", precision = 25, scale = 8)
    @TableField("Number1757915166337")
    private BigDecimal number1757915166337;
    //总合计
    @Column(name = "Number1757915176890", precision = 25, scale = 8)
    @TableField("Number1757915176890")
    private BigDecimal number1757915176890;
    //合作模式-选项编码
    @Lob
    @Column(name = "Radio1757914793229_key")
    @TableField("Radio1757914793229_key")
    private String radio1757914793229Key;
    //是否销售类协议-选项编码
    @Lob
    @Column(name = "Radio1757914836254_key")
    @TableField("Radio1757914836254_key")
    private String radio1757914836254Key;
    //折扣兑付周期-选项编码
    @Lob
    @Column(name = "Dropdown1757914956758_key")
    @TableField("Dropdown1757914956758_key")
    private String dropdown1757914956758Key;
    //培训周期-选项编码
    @Lob
    @Column(name = "Dropdown1757915034778_key")
    @TableField("Dropdown1757915034778_key")
    private String dropdown1757915034778Key;
    //发票接收邮箱
    @Column(name = "ShortText1758086683345", length = 200)
    @TableField("ShortText1758086683345")
    private String shortText1758086683345;
    //发票邮寄地址
    @Column(name = "Address1758086726586", length = 500)
    @TableField("Address1758086726586")
    private String address1758086726586;
    //发票邮寄地址
    @Column(name = "ShortText1758086823509", length = 200)
    @TableField("ShortText1758086823509")
    private String shortText1758086823509;
    //历史单据流水阿红
    @Column(name = "ShortText1758182816667", length = 200)
    @TableField("ShortText1758182816667")
    private String shortText1758182816667;

    //公司名称文本
    @Column(name = "ShortText1758616897953", length = 200)
    @TableField("ShortText1758616897953")
    private String ShortText1758616897953;


}